<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"> 

<h:head>
		 
</h:head>
<h:body>
	<ui:composition template="/layout/layout.xhtml">	
		<ui:define name="conteudo">		
		<h:form>		
            <p:panel header="Dados" toggleable="true">
	            <h:panelGrid>
	                <p:outputLabel for="descricao" value="Descrição" />
	                <p:inputText id="descricao" value="#{planoDeContasBean.planoDeContas.descricao}" />					
      		      </h:panelGrid>          
            </p:panel>
                        
            <div align="center" style="margin-top: 30px;">
            	<p:commandButton value="Salvar" action="#{planoDeContasBean.salvar()}" update="@form" />
            	<p:commandButton value="Voltar"  />
            </div>            		
		    </h:form>
		</ui:define>
	</ui:composition>      
</h:body>
</html>
